package com.smartfactory.sail.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustCareInfo对象", description = "")
public class CustCareInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "关怀的联系人id")
    @TableField("contactsId")
    private Long contactsId;

    @ApiModelProperty(value = "关怀类型")
    @TableField("careType")
    private String careType;

    @TableField("careInfo")
    private String careInfo;

    @ApiModelProperty(value = "关怀费用")
    @TableField("carePrice")
    private BigDecimal carePrice;

    @ApiModelProperty(value = "收益类型")
    @TableField("profitType")
    private String profitType;

    @ApiModelProperty(value = "收益金额")
    @TableField("profitPrice")
    private String profitPrice;

    @ApiModelProperty(value = "收益内容")
    @TableField("profitInfo")
    private String profitInfo;

    @ApiModelProperty(value = "凭证照片id")
    @TableField("image1Id")
    private Long image1Id;

    @TableField("image2Id")
    private Long image2Id;

    @ApiModelProperty(value = "关怀时间")
    @TableField("careTime")
    private String careTime;

    @ApiModelProperty(value = "客户评价")
    private String evaluate;

    @ApiModelProperty(value = "创建人")
    @TableField("createUser")
    private String createUser;

    @ApiModelProperty(value = "创建时间yyyy-MM-dd HH:mm:ss")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("updateUser")
    private String updateUser;

    @ApiModelProperty(value = "更新时间yyyy-MM-dd HH:mm:ss")
    @TableField("updateTime")
    private LocalDateTime updateTime;


}
